<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8"/>
	<meta name="baidu-site-verification" content="JdMif0g2tL" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<title>angular</title>
	<script src="js/angular.min.js" charset="utf-8"></script>
</head>
<body ng-app="myApp">

<div ng-controller="appCtrl">
	<div>
		{{obj | json}}
	</div>
	<p>{{price | currency}}</p>
</div>	

<script type="text/javascript">
	var app =angular.module('myApp', []);
	app.controller('appCtrl', ['$scope', function($scope){
		$scope.obj={
			red:"红色",
			green:"绿色",
			bule:[0,0,255]
		};
		$scope.price=19.9
	}])
</script>
<script type="text/javascript">
	document.getElementsByTagName('html')[0].style.fontSize=window.screen.width/10+'px';
</script>
</body>
</html>
<!--应该 6.6-->